package com.example.multilevelapprovalback.service.impl;

import com.example.multilevelapprovalback.mapper.AchievementTypeMapper;
import com.example.multilevelapprovalback.pojo.AchievementType;
import com.example.multilevelapprovalback.service.AchievementTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class AchievementTypeImpl implements AchievementTypeService {
    @Autowired
    private AchievementTypeMapper achievementTypeMapper;
    /**
     * 查询所有成果类别
     * @return
     */
    @Override
    public Object get() {
        List<AchievementType> list = achievementTypeMapper.get();
        return list;
    }
}
